minimize costs of production inputs